﻿using Microsoft.AspNetCore.Authorization;

namespace K9Nano.AspNetCore.Authorization;

public class K9RbacRequirement : IAuthorizationRequirement
{
    public static Task<AuthorizationPolicy> RbacPolicyTask = Task.FromResult(new AuthorizationPolicyBuilder()
        .AddRequirements(new K9RbacRequirement())
        .Build());
}
